package cn.zc.curriculum.entity.Dto;

import cn.zc.student.entity.Dto.StudentExercisesRespondenceDto;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.ArrayList;

@Data
public class QuestionBankDto {

    @ApiModelProperty(value = "id", required = false)
    private String id;

    /**
     * 题目;题目
     */
    @ApiModelProperty(value = "题目", required = true)
    private String problem;

    /**
     * 题目类型，单选，多选，填空，判断题;题目类型，单选，多选，填空，判断题
     */
    @ApiModelProperty(value = "题目类型，单选还是多选，还是判断题", required = true)
    private String problemType;

    /**
     * 题目分支;题目分支
     */
    @ApiModelProperty(value = "题目分支，同类型题可以设定题目分支", required = false)
    private String problemBranch;

    /**
     * 题目正确答案注释;题目正确答案注释
     */
    @ApiModelProperty(value = "正确答案注释，如为何这道题选c", required = false)
    private String problemAnnotation;

    /**
     * 正确答案;正确答案
     */
    @ApiModelProperty(value = "正确答案，如果是判断题，请传对或者错，字符串", required = true)
    private String rightAnswers;



    /**
     * 题目分数;题目分数
     */
    @ApiModelProperty(value = "这道题的的分数是多少", required = true)
    private String problemScore;

    /**
     * 题目分类;题目分类
     */
    @ApiModelProperty(value = "题目分类，是会计初级课的题还是中级课的题", required = false)
    private String curriculumClassifyId;

    /**
     * 对应选项
     */
    @ApiModelProperty(value = "对应的选项", required = true)
    private ArrayList<QuestionOptionDto> questionOption;


    @ApiModelProperty(value = "学生作答记录", required = false)
    private StudentExercisesRespondenceDto studentExercisesRespondence;
}
